                     Assignment no 4

Aim:Program on reading keystrokes from keyboard
pg-55

Keyboard basics:
                  We already know that how a windows program gets keyboard input: 
keyboard is delivered to our program's window procedures in the form of messages.
Indeed, while first learning about messages, the keyboard is an obvious eg of 
the type of information that messages might deliver to applications.
Commonly, there are eight diferent messages that windows uses to indicate 
various keyboards events. Part of the job of handling the keyboard is to know 
which messages are important and which are not. For eg, we can usually ignore 
keystrokes that pertain to system functions. These keystrokes that invoke a program's 
menu come through a windows window procedure, but tyey are usually passed on 
to def window procedure for default processing.
Eventually, the window procedure gets a message indicating that a menu item 
has been selected. This is generally all the window procedure needs to know. 
Many windows programs use keyboard accelerators to invoke common menu items.

